%table{:cellspacing => "1px", :cellpadding => "0px"}
  %tr
    %td
      =image_tag "ubslogo.gif"
    %td{:colspan => "2"}
      %div{:class=>"navigation"}        
        -if ENV["QUICK_USER_SWITCH"]
          Turn quick user switch
          =link_to "OFF", :user_switch_off
          =link_to "t343490", "#{user_sessions_path}?user_session[password]=samuel&user_session[username]=t343490&user_switch=true", :method => :post
          =link_to "t355234", "#{user_sessions_path}?user_session[password]=frank&user_session[username]=t355234&user_switch=true", :method => :post
          =link_to "t136291", "#{user_sessions_path}?user_session[password]=javier&user_session[username]=t136291&user_switch=true", :method => :post
          %br
        -else
          Turn quick user switch
          =link_to "ON", :user_switch_on 
          %br
        -if current_user
          you are logged in as
          %b
            =current_user.username
          %br
          =link_to "Edit Profile", edit_user_path(current_user.id)
          =link_to "Logout", :logout
          -else
          =link_to "Register", new_user_path
          =link_to "Login", :login
  %tr{:style => "height:31px"}
    %td{:rowspan => "2"}
      =image_tag "applogo.jpg"
    %td.cuiApplicationTitleBar{:style => "width:20px"}
    %td.cuiApplicationTitleBar{:style => "width:700px"}
  %tr{:style => "height:18px"}
    %td.cuiContentTitleBarLight
    %td.cuiContentTitleBarLight
  %tr{:style => "height:4px"}
    %td.cuiContentTitleBar{:colspan => "3"}